package com.kgc.novel.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kgc.novel.common.Res;
import com.kgc.novel.domain.entity.BookIncome;
import com.kgc.novel.domain.param.BookIncomeParam;

import java.util.List;

public interface BookIncomeService extends IService<BookIncome> {
    Res<BookIncome> selectIncomeAll(BookIncomeParam bookIncomeParam);

    Res getSingleIncome(String id);

    Res addIncome(BookIncome bookIncome);

    Res updateIncome(BookIncome bookIncome);

    Res deleteIncome(String id);

    Res deleteAllIncome(List<String> ids);
}
